<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('编辑-部门管理')"></head>
<body>
	<div id="ltLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
			<tr>
				<td class="formTitle">
					部门名称<font face="宋体">*</font>
				</td>
				<td class="formValue">
					<input type="text" class="form-control" placeholder="部门名称"
						v-model="department.name" isvalid="yes" checkexpession="NotNull">
				</td>
			</tr>
			<tr>
				<td class="formTitle">
					部门编码<font face="宋体">*</font>
				</td>
				<td class="formValue">
					<input type="text" class="form-control" placeholder="部门编码"
						v-model="department.depart_code" isvalid="yes"
						checkexpession="NotNull">
				</td>
			</tr>
			<tr>
				<td class="formTitle">
					上级部门<font face="宋体">*</font>
				</td>
				<td class="formValue">
					<input type="text" class="form-control pointer" placeholder="一级部门"
						v-model="department.parentName" @click="departTree" isvalid="yes"
						checkexpession="NotNull" readonly="readonly">
				</td>
			</tr>
			<tr>
				<td class="formTitle">排序</td>
				<td class="formValue">
					<input type="text" class="form-control" placeholder="排序"
						v-model="department.order_num">
				</td>
			</tr>
			<tr>
				<td class="formTitle">可用</td>
				<td class="formValue">
					<label class="radio-inline">
						<input type="radio" name="depart_state" value="1"
							v-model="department.depart_state" />
						禁用
					</label>
					<label class="radio-inline">
						<input type="radio" name="depart_state" value="0"
							v-model="department.depart_state" />
						正常
					</label>
				</td>
			</tr>
		</table>
	</div>

	<div th:include="include/footer_js::footer"></div>
	<script th:src="@{/static/plugins/js/base/department/edit.js}"></script>
</body>
</html>